import java.util.Arrays;

public class Test {
    public static void main1(String[] args) {
        Sort sort = new Sort();
        int[] arr = {12,5,2,9,10,7};
        System.out.println("排序前："+ Arrays.toString(arr));
        sort.insertSort(arr);
        System.out.println("排序后："+ Arrays.toString(arr));

    }
    public static void main(String[] args) {
        Sort sort = new Sort();
        int[] arr = {12,5,2,9,10,7};
        System.out.println("排序前："+ Arrays.toString(arr));
        sort.quickSort(arr);
        System.out.println("排序后："+ Arrays.toString(arr));

    }
}
